package net.huashitong.ssydt.money.entity;

import net.huashitong.ssydt.base.entity.LongEntity;

import java.math.BigDecimal;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2017.08.15
 */
public class BasePriceEntity extends LongEntity {

    private BigDecimal originalPrice;//原价

    private BigDecimal favourablePrice;//优惠价

    private BigDecimal preferencePrice;//特惠价

    private String nowExecute;//当前执行价	 01 原价 02优惠价 03特惠价

    public BigDecimal getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(BigDecimal originalPrice) {
        this.originalPrice = originalPrice;
    }

    public BigDecimal getFavourablePrice() {
        return favourablePrice;
    }

    public void setFavourablePrice(BigDecimal favourablePrice) {
        this.favourablePrice = favourablePrice;
    }

    public BigDecimal getPreferencePrice() {
        return preferencePrice;
    }

    public void setPreferencePrice(BigDecimal preferencePrice) {
        this.preferencePrice = preferencePrice;
    }

    public String getNowExecute() {
        return nowExecute;
    }

    public void setNowExecute(String nowExecute) {
        this.nowExecute = nowExecute;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("BasePriceEntity{");
        sb.append("originalPrice=").append(originalPrice);
        sb.append(", favourablePrice=").append(favourablePrice);
        sb.append(", preferencePrice=").append(preferencePrice);
        sb.append(", nowExecute='").append(nowExecute).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
